package com.qqtech.qquan.mall.model;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@SuppressWarnings("serial")
public class MallShopCategoryVo extends MallShopCategory {

	/** 前台列表 选中 1是2否 */
	private String selected;
	
	/** 上级的名称 */
	private String parentName;
	
	public String getSelected() {
		if (selected == null) {
			selected = "2";
		}
		return selected;
	}

	public void setSelected(String selected) {
		this.selected = selected;
	}
	
	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
}